
// 命令行参数
import java.util.Arrays;

public class Demo12 {
    public static void main(String[] args) {
        // System.out.println(Arrays.toString(args));
        for (String arg : args) {
            if (arg.equals("-version")) {
                System.out.println("version 1.0");
            }
        }
    }
}
